<?php
    include './base.php';
    $username=$_POST['username'];
    $password=$_POST['password'];
    $name=$_POST['name'];
    $age=$_POST['age'];
    $gender=$_POST['gender'];
    $id=$_POST['id'];
    $sql="update yuangong set y_name='$name',y_gender='$gender',y_username='$username',y_password='$password',y_age=$age where y_Id=$id";
    $res=mysql_query($sql);
    // $row=mysql_fetch_assoc($res);
   
?>